<template>
  <div class="aiseo-home-serviceProcess">
    <div class="buttonConsultation" @click="handleOpenChat">
      <div class="buttonConsultation-inner">立即与客服沟通</div>
    </div>
  </div>
</template>

<script setup>
import EventBus from "@/utils/eventBus.js";
const handleOpenChat = () => {
  EventBus.emit("openCustomerChat", {
    message: "您好，我想了解更多信息",
  });
};
</script>

<style lang="scss" scoped>
.aiseo-home-serviceProcess {
  width: 100%;
  margin: 40px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  .buttonConsultation {
    width: 246px;
    height: 47px;
    border-radius: 50px;
    border: 1px solid #1a1a1a;
    text-align: center;
    line-height: 47px;
    font-family: Microsoft YaHei UI, Microsoft YaHei UI;
    font-weight: bold;
    font-size: 18px;
    color: #1a1a1a;
    cursor: pointer;
    // transition: all 0.3s ease; /* 添加过渡效果 */
    .buttonConsultation-inner {
      width: 100%;
      height: 100%;
      border-radius: 40px;
      //   transition: all 0.3s ease; /* 添加过渡效果 */
    }
  }
  //   .buttonConsultation:hover {
  //     width: 300px;
  //     height: 50px;
  //     color: #ffffff;
  //     border: 1px solid #e62e3d;
  //     padding: 3px;
  //     box-sizing: border-box;
  //     transition: all 0.3s ease; /* 添加过渡效果 */

  //     .buttonConsultation-inner {
  //       background: #e62e3d;
  //       transition: all 0.3s ease; /* 添加过渡效果 */
  //     }
  //   }
}
</style>
